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