Bug 919865:  Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes