USAN "implicit-signed-integer-truncation" in 2 and 4 ISM encoding
### Basic info - Commit SHA: 0ddbb7a596de60b706d470148f14060d32f084d2 ### Bug description Clang usan sanitizer test in pipeline found an error: <!--- Copy sanitizer traceback from command line here --> ``` lib_com/ari_hm.c:299:13: runtime error: implicit conversion from type 'int' of value -32819 (32-bit, signed) to type 'int16_t' (aka 'short') changed the value to 32717 (16-bit, signed) SUMMARY: UndefinedBehaviorSanitizer: implicit-signed-integer-truncation lib_com/ari_hm.c:299:13 in ``` The error occurs in a TCX-related function. <!--- Copy test job URL here --> Link to test pipeline: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/jobs/204429 Also happens in ISM4 pipeline: https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/jobs/204431 ### Ways to reproduce Using the [scripts](https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/wikis/Software-development/pyivastest-howto#how-to-reproduce-tests): <!--- check correct sanitizer type --> <!--- add error pattern if needed --> ``` python3 scripts/IvasBuildAndRunChecks.py --checks CLANG3 -m ISM2_b16_4_wb_cbr -p /path/to/my/local/ci_linux_ltv_local.json --usan_supp_file scripts/ubsan.supp ``` or directly: ``` make clean make -j CLANG=3 ./IVAS_cod -ism 2 NULL NULL -max_band wb 16400 16 ltv16_2ISM.wav bit ``` <!--- Below are labels that will be added but are not shown in description. This is a template to help fill them. Add further information to the first row and remove and add labels as necessary. -->
issue