Verify DOM.enable() exists before calling it

This is for #10191 

Targets `release` branch.

Oops -- wrong PR. See [this comment](https://github.com/adobe/brackets/pull/10197/files#r21985381).