Add compile check to FindEGL
Perform additional sanity checking by doing a compile test.
Differential Revision: https://phabricator.kde.org/D18960