Interaction between the geometry of the boundary and positive solutions of a semilinear Neumann problem with critical nonlinearity