Only use unsetenv() when it is available

AIX 4.3 dosn't support it, for example.
configure: clean up function definitions
doc/Platforms.txt: add OpenBSD 5.4 on HPPA