Update to libalpm 4.1 API