[PATCH v5 08/17] rust: kunit: refactor to use `&raw [const|mut]`