[PATCH 3/6] cert: Change l_certchain_foreach* signatures