getopt: synchronize from glibc