[GCC toolchains] declare "__semihost" as "static inline"