Magnetic field and throughflow effects on double-diffusive convection in internally heated anisotropic porous media