[opaque pointers] Remove use of PointerType::getElementType in favor of GEPOperator...