Define AM_PROG_AR before LT_INIT in configure.ac.

This will get rid of the following warning:

```
configure.ac:56: warning: LT_INIT was called before AM_PROG_AR
aclocal.m4:70: AM_PROG_AR is expanded from...
configure.ac:56: the top level
```