[PATCH v3 08/10] lib: add support for device coherent type in test_hmm