[PATCH 5.10 190/286] pwm: stm32: Use hweight32 in stm32_pwm_detect_channels