[PATCH openEuler-5.10-LTS 218/559] memory: emif: check the pointer temp in get_device_details()