Influence of the atomic-wall collision elasticity on the coherent population trapping resonance shape