Minor optimisation in wpi_limit_dwell()
PR: kenr/197143 Submitted by: Andriy Voskoboinyk <s3erios@gmail.com>