[osfmk/arm/crt]: Remove duplicate code, rename file extensions, fix assembly