Skip checking for symbol leaks in libruby.a linking extensions

The libruby.a linking extension libraries contain symbols exported
from extension libraries, and is not subject of test-leaked-globals.