Periodic solutions of a certain generalized Liénard equation