Simplified version of ivar_getTypeEncodingSwift