c++ backend: deference pointer for `.` operator for simple cases where the variable is an instance of a class.