getopt-gnu: match recent glibc fixes and posix ruling