Mark Allen will face Martin Gould in the third round in York