devicemapper: Use device/inode of the root dir, not the image

This way the devicemapper prefix stays stable even if we're not
using loopback mounted devices.