getopt: update optarg and optind correctly on missing argument
[musl] / ldso /
drwxr-xr-x   ..
-rw-r--r-- 4425 dlstart.c
-rw-r--r-- 57327 dynlink.c