Directly use "static inline" which is available in C99 and later. This brings the RTEMS implementation closer to standard C. Close #3935.
This patch is a part of the BSP source reorganization. Update #3285.