Philippine military warns of terrorist attack during protests