Bug 1045065 - Fix some bad implicit constructors in xpcom; r=froydnj