avcodec/hevc: Silence "warning: ref0/1 may be used uninitialized in this function"