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