Backport of "Fix build issue on MinGW64" into 1.18
requested to merge tpm/gst-plugins-base:backport-mr-1094-into-1.18-fix-build-issue-on-mingw64 into 1.18
Backport of !1094 (merged) "Fix build issue on MinGW64".
Commits:
- a5e2883f Fix build issue on MinGW64