Now that golang.org/x/sys/unix provides the Mkdev, Major and Minor functions for every OS, use them instead of the locally defined version which uses the Linux specific device major/minor encoding. This also means that the device number should now be properly encoded on e.g. Darwin, FreeBSD or Solaris. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>