Fix bug in PDE boundary conditions caused by mesh.GetNumBoundaryNodes being local to process

git-svn-id: https://chaste.cs.ox.ac.uk/svn/chaste/trunk@18402 b5f69653-2bf5-0310-8201-b0dafb8e1405