hevc: fix compilation errors