build: Simplify postprocessing of linker version script files