[PATCH] kunit: Release resource upon __kunit_add_resource() failure in the Resource API