Fix warnings in StackTraceUtils::getCaller