pc-dimm: fix compile for target without config CONFIG_MEM_HOTPLUG

Signed-off-by: zhang.zhanghailiang <jesse.zhanghailiang@gmail.com>