[builtin] Cleanup pwm-gen.c