Update gps.c

correctly verifies checksum before modifying read NMEA gps data