Estimating the dust production rate of carbon stars in the Small Magellanic Cloud