configure: remove unused checks for libraries These libraries are queried for, but no code cares about the results, so remove the checks.