LinuxKPI: implement _IOC_TYPE and _IOC_NR macros in linux/ioctl.h
They are used by drm-kmod
Reviewed by: emaste, hselasky, manu
Differential revision: https://reviews.freebsd.org/D31674
(cherry picked from commit b58c916f115d9d40f91397a1b406891f36c39fad)