Allow false but non-nil values to pass through to_hash

This change allows the following Ruby hash to be decodable from a protobuffs message:

{'allow_mult' => false}