Add 'static __inline__' to MSVC intrinsics with implementations

This avoids warnings visible with -Wsystem-headers.