gazebo: workaround for issue #850

Gazebo has a compilation problem when the custom python formula
is installed. This commit adds a workaround patch for gazebo.
See the gazebo issue tracker for further info.
https://bitbucket.org/osrf/gazebo/issue/850