[PATCH 4.19 092/114] dm ioctl: fix misbehavior if list_versions races with module loading