xbps_rindex_sync: pass correct file to the state cb.
Fix previous; only use arg0 in client cb.
lib/initend.c: convert a noisy printf to dbg_printf.