[Git][pacman/pacman][master] Adjust PATH_MAX length tests using snprintf