Pseudoharmonic oscillator in quantum mechanics with a minimal length