[PATCH openEuler-5.10 15/32] mm: make compound_head const-preserving