Only build and run datamatrixtest if libdmtx is available
If libdmtx isn't available Prison::createBarcode returns null, causing prison-datamatrixtest to segfault. Considering there's not much to test in this case, it's probably best to just skip the test.