libs: h265encoder: Consider chroma_bit_depth when choose chrome type
For some main-10 stream, sometime the luma is 8 bits while chrome is more than 8 bits, which cause using the wrong NV12 surface as the render target and decoding error.
Fix #176 (closed)