[Mesh] fix the nonlinear node ID check
fix #1495. The check doesn't work if the number of base nodes is provided to a constructor, which is the case in VtuInterface.
fix #1495. The check doesn't work if the number of base nodes is provided to a constructor, which is the case in VtuInterface.