target-ppc: create a helper function to allow more flexible RAM allocation for PPC 4xx