V8 profiling patch rebased on Chromium v34
(cherry picked from commit 4c47b893f2299aebbe796f22d15bb8c0182e81db)