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.
Merge pull request #3111 from seanchas116/remove-register-from-st-h

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