[PATCH v2 06/10] rust: firmware: use `core::ffi::CStr` method names