changed weighted init to avoid negative shift
Merge branch 'hevc' of https://github.com/OpenHEVC/openHEVC.git into hevc