Move GrAutoLocaleSetter to new file and fix issue with null locale

TBR=egdaniel@google.com
NOTREECHECKS=true

Review URL: https://codereview.chromium.org/1002623004
5 files changed