MdeModulePkg UhciPei: Also check TempPtr against NULL to return error
MdeModulePkg UhciPei: Also check TempPtr against NULL to return error

Cc: Hao Wu <f387b71200577e27ccf5abb090fda0ddd187ec6e@intel.com>
Cc: Jiewen Yao <364a90bfebd1f362ebb7b48e4bf8ec010adef203@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <5c6bb72efe464613af94e84c05522a361b23844a@intel.com>
Reviewed-by: Hao Wu <f387b71200577e27ccf5abb090fda0ddd187ec6e@intel.com>

MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2,MattDevo/edk2