Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.