[XPCOM] Add a sanity check to ensure we don't send messages with unexpected arguments