[PATCH v2 4/5] kunit: make kunit_kfree() not segfault on invalid inputs