avcodec/get_bits: Make sure the input bitstream with padding can be addressed