musl: add getopt support for non-option arguments