autotools: Fix autoconf-archive compatibility issues

autoconf-archive 2019-01-06 changed the setup of code coverage support.
Deal with both old and new. Based on Patrick Venture's similar patch in
other repositories[1].

[1] https://github.com/openbmc/phosphor-pid-control/commit/90e9dbcae6c1df3127dd3de41f9d1e1b5a438828

Change-Id: Ifafda526794602801e7ac1b2f01e62c64f4220d7
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2 files changed