A directional implicit function theorem for quasidifferentiable functions