clean wpp
fix memory allocation for tiles and wpp
Merge branch 'hevc' of https://github.com/OpenHEVC/openHEVC into shvc