Suppress unused warning on static inline function template specializations.

Patch by Halfdan Ingvarsson!