Update protobuf to 2.5.0

See #3154 for details.