A note on periodic solutions of a nonautonomous generalized Liénard equation