stm8: fix compilation warning