Paint Profiler: properly handle nullable params in LoggingCanvas

We could crash with NULL deref on replaying certain pictures.

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

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