[PATCH v3 09/13] lib: add support for device coherent type in test_hmm