x86: Fix build with older binutils and consolidate linker script