Change several STATIC and static functions to PERL_STATIC_INLINE

While most compilers probably handled this on their own already,
explicitly asking things to be inlined makes -Winline warn if the
inlining fails for some reason, like the function being used before
their body is declared.