hevc: remove no longer needed REFERENCE_ENCODER_QUIRKS define
hevc: don't leak rbsp_buffer