Use AX_CHECK_COMPILE_FLAG to detect -maes

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
Re-generate configure script