Port change to highbitdepth code path This fixes the crash in encoder when configure with both highbitdepth and dual-filter. Change-Id: Ie06cc528094f4b31b7fc0ba75e7b15cae031d707