[PATCH openEuler-5.10 31/46] mm, slub: change run-time assertion in kmalloc_index() to compile-time