hevc: fix compare in case of B frames
Merge branch 'hm10.0' of https://github.com/OpenHEVC/openHEVC.git into hm10.0