cmake: drop x265 folder suffix to archive install path
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