Cooperation in the spatial prisoner’s dilemma game with probabilistic abstention