cmake: Check for -mcrc32 availbility

Don't pass the '-mcrc32' flag to compilers that don't support it.

Change-Id: I89958072adb7454ea0244f755932d64e24f512f2