musl: merge getopt changes from master to unbreak GNU getopt_long behaviour.