[PATCH v1 7/9] lib: add support for device coherent type in test_hmm