Tidy up uses of Integer.valueOf.

Use parseInt when the result is assigned to an int. Allocates fewer
objects.

bug: 28078871
Change-Id: Iecb25241863eb84f761918d39650678119f83cce
1 file changed