ShellPkg/UefiDpLib: Refine the code of locating all handles in DpTrace.c.
ShellPkg/UefiDpLib: Refine the code of locating all handles in DpTrace.c.

Replace gBS->LocateHandle with gBS->LocateHandleBuffer

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cinnamon Shia <7442407e887958975262eda9bcd9ed8380ec6899@hpe.com>
Reviewed-by: Jaben Carsey <2d4ee76b36e91bee3a58378b7538904eb027a616@intel.com>
Reviewed-by: Star Zeng <5c6bb72efe464613af94e84c05522a361b23844a@intel.com>
Reviewed-by: Samer El-Haj-Mahmoud <69075e1ba2600094d95dfeb0aa01056bdaba053c@hpe.com>

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