[TIMOB-14587] Fix minor compilation warnings