Fix guard to prevent compilation error when tracing is enabled
Fixes VVCSoftware_BMS/source/Lib/EncoderLib/EncModeCtrl.cpp:995:17: error: unused function 'getHalvedIdx' [-Werror,-Wunused-function] static unsigned getHalvedIdx( unsigned idx ) when -DENABLE_TRACING=1