Mark Type::getPointerTo as const. Unfortunately, this requires a const_cast inside...