[PATCH v6 05/18] rust: kunit: refactor to use `&raw [const|mut]`