Make hipModuleGetGlobal match cuModuleGetGlobal behavour. That is, if one of the first two parameters is nullptr, ignore it. Change-Id: I3fe6dbc35a7b14aa9119df297b7885df83d28048