Frobenius splittings on an algebraic variety with torus action