[PATCH 6.17 042/849] kunit: test_dev_action: Correctly cast priv pointer to long*