daala: fix bit-depth issue in encoding