[PATCH v6 09/13] lib: test_hmm add ioctl to get zone device type