Sox sign RHP Carter to minor league deal