[PATCH v5 06/10] lib: test_hmm add ioctl to get zone device type