[pacman-dev] [PATCH 3/4] libalpm/dload: add allow_resume and reorder error checks