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 <[email protected]>
Commit-Queue: Yunlian Jiang <[email protected]>
Tested-by: Yunlian Jiang <[email protected]>
1 file changed