gstreamer: allow to register using Rank enum
@slomo : is ok like that or do you prefer a custom Trait?
It would also be nice to be able to do gst::Rank::Primary + 1
but I suppose I then have to manually re-implement Rank
so it can have a Custom(u32)
and then implement ops::Add
on it?