Funding for pay raises in doubt as lawmakers finalize budget