Fix StartProfiler undef variable warning

Change-Id: I3dd4f45835ff3299d79ca33dd5dbe98cb2435f45