Only delete symlink when it exists.

Change-Id: I8cb66d7cd067d153f731324c0d8bc39081e3413d
diff --git a/tools/heap_profile b/tools/heap_profile
index cf006d7..7f01ca0 100755
--- a/tools/heap_profile
+++ b/tools/heap_profile
@@ -212,7 +212,8 @@
 
   symlink_path = os.path.join(os.path.dirname(profile_path),
                                         "heap_profile-latest")
-  os.unlink(symlink_path)
+  if os.path.exists(symlink_path):
+    os.unlink(symlink_path)
   os.symlink(profile_path, symlink_path)
 
   print("Wrote profiles to {} (symlink {})".format(profile_path, symlink_path))