MdePkg: Enhance PathRemoveLastItem() to support "FS0:File.txt"
MdePkg: Enhance PathRemoveLastItem() to support "FS0:File.txt"

The original implementation only looks for very last backslash
and removes the string after that.
But when the path is like "FS0:File.txt" which doesn't contain
backslash, the function cannot work well.
The patch enhances the code to look for very last backslash or
colon to support the path which doesn't contain backslash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <9fa3a6894a36bca79e6a72ad65af5a5702efecd1@intel.com>
Reviewed-by: Jaben Carsey <2d4ee76b36e91bee3a58378b7538904eb027a616@intel.com>
Reviewed-by: Tapan Shah <cd82a97b31196a8aa18362807101a3afc161327b@hpe.com>

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