rvdec: fix compile errors