Pass categoryEnabled and name to updateTraceEventDuration.
    
Paired with https://codereview.chromium.org/66193005/ (along with later
cleanups) which separates trace recording and trace event callback to be
independent. CategoryEnabled and name parameters are used when there is
no recording. This doesn't have impact on performance when tracing is
not enabled, has little impact when tracing is enabled, and will improve
performance of DevTools Timeline recording.

BUG=none

Review URL: https://codereview.chromium.org/65853003

git-svn-id: svn://svn.chromium.org/blink/trunk@162403 bbb929c8-8fbe-4397-9dbb-9b2b20218538