Added support for GNU major/minor device numbers

See for example
http://code.woboq.org/userspace/glibc/sysdeps/unix/sysv/linux/sys/sysmacros.h.html#37