build-sys: Move acx_lirc.m4 contents to configure.ac