Optimize lint passes to perform far fewer allocations

Achieves ~3x speedup on lint passes for libcore