pass num_dim into RegionData and GaugeData to print error if num_dim==3

Goes with clawpack/amrclaw#82.