sctp: enclose pre-init static function in between ifdef USE_SCTP

- it is not used otherwise and some compilers can throw warnings
- reported by Juha Heinanen