fixed duplicate symbol error in flexbuffers.h (#4233)

1. modified the function that omitted inline.
2. changed the static global functions to inline functions.
1 file changed