egl: Fix symbols check for static builds
The symbols check only works for dynamic libraries.
When building statically, the test fails.
This is caused by the check filtering out non-dynamic symbols with nm
.
This change modifies the check to work for static libraries.
This is done by filtering the symbol type to type T
instead.