avcodec/put_bits: Update size_in_bits in set_put_bits_buffer_size()