powerpc: Put exception configuration in a common place