[Mosaic GPU][NFC] Use `dataclasses.fields` to gather operands for `CustomPrimitiveOp`.
This avoids potential ordering issues and is easier to evolve.
Note: we can't use `dataclasses.astuple` because it copies field values with `copy.deepcopy` which fails on `ir.Value`.
PiperOrigin-RevId: 818549512