spapr: Refactor spapr_populate_memory() to allow memoryless nodes