[V8] Fix Canvas layout test failures in Chromium build.