fix various bugs and apply scaling list
Merge branch 'hm10.0_au' of https://github.com/OpenHEVC/openHEVC.git into hm10.0_au