Quantization of the linearly damped harmonic oscillator