Allow files with different minor device numbers to be treated as identical if the major device number is 0.

/proc/<pid>/maps and 'stat' have been observed to disagree on the minor
device number for a mapped file. This may be due to btrfs. In the observed
cases, the major device number is zero. Inode numbers still agree.