[pacman-dev] Simple refactoring in remove.c