A measure of fast ion beta at marginal stability in the reversed field pinch