hevc: fix warning about discarding const