powerpc: Move cpu_has_feature() to a separate file