r600g: use Elements macro instead of manual sizeofs