Extendability of solutions of Helmholtz's equation to the interior of a two-dimensional scatterer