cmake: fix 32bit GCC compile
cmake: allow MinGW to rename x265-static to x265

MinGW uses libx265.dll.a for the shim loader library, which does not collide
with libx265.a, so it is ok.  Only MSVC wants to use x265.lib for both