[PATCH v1 10/12] lib: add support for device coherent type in test_hmm