Make correct checking of the returned hipDeviceptr_t from read_global… [ROCm/hip commit: e672dc8a55]
e672dc8a55