[packages] popt: fix build

fix build with newer automake

AM_C_PROTOTYPES is deprecated
LT_INIT is required by newer versions
AM_CONFIG_HEADER can be replaced by AC_CONFIG_HEADERS

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>