MdeModulePkg/BmpSupportLib: Refine type cast for pointer subtraction