[PATCH v6 05/10] kunit: Don't use a managed alloc in is_literal()