camera: Use type declaration style of rut-graph

Same as fb5e85c.
diamond: Use type declaration style of rut-graph

Same as fb5e85c, with one discrepancy - the RutDiamond class is declared
as a RigDiamond in rut_type_init(), so it isn't possible to stringify
the TYPE macro.