Higher-twist quark-mass contributions to deep-inelastic scattering