The intrinsic reddening of the Magellanic Clouds as traced by background galaxies – II. The Small Magellanic Cloud