libroot: Replace getsubopt implementation with musl's. It looks to be a bit more optimized, and one less thing for us to have to maintain from POSIX.