Update to compile without warnings

Tested to work with newest 2.x ChibiOS/RT available to day. Added
PWMConfig->dier initialization.