[PATCH openEuler-22.09 07/24] rust: adapt `alloc` crate to the kernel