Finite-size and pressure effects in YBa2Cu4O8 probed by magnetic-field penetration-depth measurements