devmapper: Support running docker inside docker

The devicemapper device namespace is global, so when running docker inside
a docker container we prefix the device names to avoid conflicts with the
host instance.