Turn on clang's -Wtype-safety to detect fnctl() and ioctl() errors