[PATCH 6.4 12/13] dm ioctl: Avoid double-fetch of version