Anisotropic finite-size scaling analysis of a two-dimensional driven diffusive system