merge Ruby r40122

RUBY_SYMBOL_EXPORT_{BEGIN,END}: visibility control macros.
include st.h if RUBY isn't defined
import the latest st.[ch] from Ruby r40122