MdeModulePkg/DxeCapsuleLibFmp: Add more check for the UX capsule