libroot: Replace the old localtime fallback backend with musl code. This allows for the deletion of quite a lot of ugly C89 code.