sctp: Fix crash on free() when using the MSVC binaries

Merged Nirbheek Chauhan requested to merge nirbheek/gst-plugins-bad:fix-sctp-crash-msvc2 into master

On Windows, if libusrsctp and gstreamer are built with different C runtimes (CRT), we cannot free memory allocated inside libusrsctp with the free() function from gstreamer's CRT.

usrsctp_freedumpbuffer() simply calls free(), but because of the way DLLs work on Windows, it will always call the free function from the correct CRT.

Merge request reports