The inertia of a crack near a dislocation