compiler: add `Platform::supports_linker_script`