hw/ppc/spapr: Fix segfault when instantiating a 'pc-dimm' without 'memdev'