[PATCH 6.12.y 20/60] rust: alloc: add `Allocator` trait