[pacman-dev] _alpm_remove_commit refactoring