Tidy up uses of Integer.valueOf.
Narayan Kamath authored
Use parseInt when the result is assigned to an int. Allocates fewer
objects.

bug: 28078871
Change-Id: Ife403212b402af50e0007ba313dbbffdf44ab74c
928fb2b1