De-inline string_len() and string_get().

Would have to make them "static inline" to be safe with C99 inline
semantics. Turning off optimizations broke the old code as the compiler
went looking for external definitions. Keep it simple and make them
ordinary functions like the rest instead.