Fix a segfault when there is no GPS fix

This segfault is caused by the value for time. It will be NaN whenever there is no current satellite fix, which causes the ROS timestamp message to throw a Boost rounding exception. This check prevents the error from occurring.