devmapper: add missing defines

Add some missing defines which are needed for compiling on older systems
like RHEL 6.