MdeModulePkg/BootLogoLib: Remove invalid if judgments