Stop compiler from reordering sync insns