Fix compilation with Clang.
* state.c: Do not include state_inline.h twice with different
value of STATE_INLINE. It was included once via state.h with
STATE_INLINE = "extern inline", and another time directly with
STATE_INLINE = "extern". Now...
* state.h: ... only include it once here with STATE_INLINE =
"static inline".