[PATCH 6.7 355/641] pwm: stm32: Use hweight32 in stm32_pwm_detect_channels