avcodec/put_bits: Assert that there is enough space left in skip_put_bytes()