Bug 866702 - Decouple DEBUG=1 from Firefox desktop compatibility helpers

https://bugzilla.mozilla.org/show_bug.cgi?id=866702