[PATCH openEuler-23.09 05/24] LoongArch: refresh usage of sync