[PATCH v1 08/12] lib: test_hmm add ioctl to get zone device type