Schumer says he'll vote for GOP spending bill to avert shutdown