Workaround for crash in gpertools GetStackTrace() as the crash has so far only happened in string allocation in ParseInteger()

Change-Id: I752c50d37d4636b0d6af3815582429d74e121367