libhwc2.1: check refresh rate in onConfig for operation rate switch

Add an additional condition to skip the operation rate switch while
resolution is changed but refresh rate isn't.

Bug: 333480739
Test: disable smooth display, reboot, then check operation rate
Change-Id: Ie5e7f4ac873ddfa1a3ff1cfe156508f5784a7f6b
1 file changed