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