deps: make v8 debugger scripts work in strict mode

This commit integrates two different commits from V8:
1)
Review URL: https://codereview.chromium.org/741683002

2)
Review URL: https://codereview.chromium.org/736583007
Issue URL: https://code.google.com/p/v8/issues/detail?id=3708

Fixes #7363