Bump to 1.8.31 for the gradle plugin.

RB=171406
R=jbetz,slim,sihde
A=jbetz,slim