cmake: Fix mt return value when hosted on posix (#14605)

On posix platforms return values are limited to a range from 0 to 255.
Cross compiling/linking with MSVC on linux/wine leads to a
misinterpretation of the return value 1090650113 of mt.exe.
Merge topic 'cmake-mt-return-value' into next

d384b5a cmake: Fix mt return value when hosted on posix (#14605)