The effect of Zn-doping on the magnetic field induced dimensional crossover in YBa2Cu4O8