[FIX] Updated traceswo example to meet new library change

Fix STM32 examples build with newest library