Inertial effects during the infiltration of an elastic porous medium