startup: use simpler (and faster) xpcom category method

(integrated from trunk branch change a28a5a0 by Todd Whiteman <toddw@activestate.com>)