[xpcom] Add a ref when handing out the value in DataCarrier