libhwc2.1: don't construct string if debug log is disabled

In ExynosResourceManagerModule::otfMppReordering, we still construct the
debug string even though it's not used because the debug log is disabled
by default. So, we should only construct the debug string if the debug
log is enabled.

Bug: 295892886
Test: trigger assignResource using hwc-tester & check simpleperf
Test: adb shell vndservice call Exynos.HWCService 105 i32 16777216
Change-Id: Id319a2e8ac0a762f0da924597bf6b5763b839655
1 file changed