archive: use Mkdev, Major and Minor functions from golang.org/x/sys/unix
archive: use Mkdev, Major and Minor functions from golang.org/x/sys/unix

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 <9249c549618448e4c699e8032ba6c7f0d7fd4b7f@distanz.ch>

kunalkushwaha/containerd,miaoyq/containerd,estesp/containerd,kunalkushwaha/containerd,AkihiroSuda/containerd,crosbymichael/containerd,vdemeester/containerd,mikebrow/containerd,containerd/containerd,thaJeztah/containerd,mikebrow/containerd,containerd/containerd,thaJeztah/containerd,vdemeester/containerd,miaoyq/containerd,estesp/containerd,crosbymichael/containerd,dmcgowan/containerd,dmcgowan/containerd