Fix makefile preventing AO_pause undefined in libatomic_ops_gpl

* src/Makefile.am (libatomic_ops_gpl_la_LIBADD): New dependency.
.gitignore: Ignore tests/.libs (generated if configure --enable-shared)