On a semi-spectral method for pricing an option on a mean-reverting asset