Green was ejected with the Warriors trailing by two