fixed calculation of used memory for p4est_mesh_t. minor style fixes