Analysis of a threshold model of social contagion on degree-correlated networks