[PATCH openEuler-22.09 04/26] mm: Refactor code in reliable_report_meminfo()