Enhance record and recarray support

- Fix #712 alignment issues on GPU
- Handle dispatching of recarray type

For the record (:-)), are there CPU platforms on which this would crash?
(I'm thinking Sparc, Alpha...)