rts: cleanup inlining logic
This patch removes pre-C11 legacy code paths related to INLINE_HEADER/STATIC_INLINE/EXTERN_INLINE macros, ensure EXTERN_INLINE is treated as static inline in most cases (fixes #24945 (closed)), and also corrects the comments accordingly.
Edited by Cheng Shao