target/stm8: add support for multi-architecture gdb