Bug 919865:  Replace #ifdef DEBUG with DebugOnly<> in a few spots in layout/generic. r=mats