In the non-threaded RTS, make *_barrier functions EXTERN_INLINE, not #define. (fixes #8077)