configure: tell platforms that dont have AM_PROG_* to just ignore it

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>