meson: fix sys/mkdev.h detection on Solaris
On Solaris, sys/sysmacros.h
has long-deprecated copies of major()
& minor()
but not makedev()
.
sys/mkdev.h
has all three and is the preferred choice.
Let's make sure we check for all 3 major()
, minor()
and makedev()
.
Reported-by: Alan Coopersmith @alanc