configure.ac: Call AM_PROG_AR if available

As discussed in https://github.com/Yubico/yubico-c-client/pull/8#issuecomment-12097649 using
```m4
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
```
might be the better solution to solve the problems with automake >= 1.12.