This isn't the best flag to mitigate, since it will fail on systems that don't support AVX2.
I recommend -XX:-UseBASE64Intrinsics instead.
What system supports AVX512 but not AVX2?
What system supports AVX512 but not AVX2?