powerpc: Move script to check relocations at compile time in scripts/