[PATCH v2] kunit: tool: fix newly introduced typechecker errors