Fix hexadecimal output of stat

The number in /dev/dm-NUM is not hexadecimal, but command stat prints minor number in hexadecimal. This is problem when using more then 9 devices. 
Bug Nr.1: Script reads information from other device (12 in hexa is 18 in decimal) with lower minor number!
Bug Nr.2: Command stat return minor number 'ff', but in hexa is FF and device /dev/dm-ff does not exists (/dev/dm-255 is correct).

Example of bug Nr.1:
# ls -l /dev/mapper/vgxen-daphne.root
lrwxrwxrwx 1 root root 8 Oct 16 01:23 /dev/mapper/vgxen-daphne.root -> ../dm-17
# ls -l /dev/dm-`stat -L /dev/mapper/vgxen-daphne.root --printf="%T\n"`
brw-rw---T 1 root disk 253, 11 Oct 16 01:23 /dev/dm-11

Example of bug Nr.2:
# ls -l /dev/dm-`stat -L /dev/mapper/fc-p1-xen-data-mirror --printf="%T\n"`
ls: cannot access /dev/dm-ff: No such file or directory
Fix hexadecimal output of stat #4
Merge branch 'svamberg-master'