Superspace formulation of general massive gauge theories and geometric interpretation of mass-dependent Becchi–Rouet–Stora–Tyutin symmetries