Analysis of the effects of elongation and triangularity on the propagation of lower-hybrid waves