ac: fail shader compilation if libelf is replaced by an incompatible version
UE4Editor has this issue. This commit prevents hangs (release build) or assertion failures (debug build). It doesn't fix the editor, but catastrophic scenarios are prevented. Cc: 17.1 17.2 <mesa-stable@lists.freedesktop.org> Reviewed-by:Michel Dänzer <michel.daenzer@amd.com> Reviewed-by:
Samuel Pitoiset <samuel.pitoiset@gmail.com>