Dilepton production from the quark-gluon plasma using (3+1)-dimensional anisotropic dissipative hydrodynamics