SiO in C-rich circumstellar envelopes of AGB stars: effects of non-LTE chemistry and grain adsorption