Remove 'register' keyword from st.h in C API

'register' keyword is meaningless in modern compilers and it causes
deprecation warnings in C++11 compilers.