getopt-posix: avoid spurious failure on Solaris