Local governments in New York State spending reserve funds to stay afloat, comptroller says