China says it opposes attacks on civilian vessels in Red Sea