translate-c: add limited OffsetOfExpr support

Add support for OffsetOfExpr that contain exactly 1 component, when that component
is a field.

For example, given:

```c
struct S {
  float f;
  double d;
};
struct T {
  long l;
  int i;
  struct S s[10];
};
```

Then:
```c
offsetof(struct T, i)       // supported
offsetof(struct T, s[2].d)  // not supported currently
```
294ee1bbc9Evan Haas committed on 2/28/2021, 7:56:57 PM· committed by Veikka Tuominenparent0423f0f
6 files changedLine totals unavailable