[PATCH v1 10/14] lib: test_hmm add ioctl to get zone device type