configure.ac: if linking -lSDL2 fails, try pkg-config