fix warning about empy message definition (fix ros/ros_comm#344)

Regression of 82b5116f405dddbe8885fc8921deb021cf1dd977

@tfoote Please review.