Torsional rigidity for regions with a Brownian boundary