zink: put sysmacros.h include under #ifdef MAJOR_IN_SYSMACROS
zink: put sysmacros.h include under #ifdef MAJOR_IN_SYSMACROS
Fixes the build on OpenBSD, where major() is in sys/types and
sys/sysmacros.h does not exist. Also include sys/mkdev.h if
MAJOR_IN_MKDEV is defined.
Fixes: 6d60115be7c ("zink: Fix enumerate devices when running compositor")