[minor] compatibility fixes for p4est 1.0

The deprecated type p4est_connect_type_t got removed in p4est
>=1.0. Use connect_type_t instead. Communicated by Carsten
Burstedde.