gcc:Fix GCC4.9 segfaults with -fauto-profile

This backport r216292 from google/gcc-4_9 branch to google/gcc-4_8-mobile.

BUG=chromium:430512
TEST=the error in the command line is gone.
TEST=cbuildbot daisy-release x86-alex-release falco-release --hwtest

Change-Id: I9c580c822a9e751b0ef5a71a34e3748ca4cc9034
Reviewed-on: https://chromium-review.googlesource.com/227981
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
1 file changed