[PATCH openEuler-1.0-LTS 2/2] powerpc/pseries/memhp: Fix access beyond end of drmem array