fix regression in getopt_long support for non-option arguments