[PATCH openEuler-23.09 04/11] LoongArch: refresh usage of sync