hevc/rext: add partial support for 12 and 14 bits
Merge branch 'hevc_rext' of https://github.com/OpenHEVC/openHEVC.git into hevc_rext