Fix for QNX not supporting gethostid().

0 is a valid value, per POSIX.