[PATCH openEuler-5.10 27/47] mm/damon: modify damon_rand() macro to static inline function