Modify UEFI anti-bricking code