configure: Use test_pkg_config() for the SDL check