fix a crash in -decodeBytes, when trying to parse a gpx file with broken tags