This removes 2 global vars from lib/initend.c and easier to know what functions require access to xbps_handle.