[PATCH v2 06/11] lib: test_hmm add ioctl to get zone device type