cpu: adjusted pwm driver impl for lpc2387