Turkish president warns return to genocide in Gaza would have 'heavy cost'