codec: hxxx_helper: handle annexB in extradata