libs/xpcom: fixed a bunch of pointer size vs. integer size warnings
xpcom: first go at making xpcom bitness-safe
import