geography/gpsd: fix build on SmartOS

fixes build on SmartOS

- use c99 to get NAN defined
- Solaris doesn't have LOG_PERROR, so disable it
- cfmakeraw fix was already in main gpsd for cygwin - only adjustment needed to use it on sunos too
- gpspipe still needed cfmakeraw patch