No, the warning is built into the bootloader (abl). There is no way to modify or hide it. The bootloader is secured using private keys and any modifications to it will cause the device from failing to boot to the bootloader. So, you need to live with the 5-second warning for as long as your bootloader is unlocked