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