lib/efi: Add check for ioctl_iflags support
[petitboot] / s