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

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