mozilla: add pyxpcom getConstant patch (mozilla 35)

(integrated from master branch change 5b6a574 by Todd Whiteman <toddw@activestate.com>)