Fix reset glitch in pwmout_write() on LPC13XX

Fixed the same problem as https://github.com/mbedmicro/mbed/pull/289 on the LPC13XX.