Fix klibc getopt_long_only() for optional arguments