configure: fix autoreconf warning if AM_PROG_AR isn't available

Change-Id: I56f931a598184aa9802914cc6dc68668e2d5a4a2