Stochastic approach for elliptic problems in perforated domains