Create a new gravity attribute.
the gravity value; should not be pango_gravity_auto
the newly allocated `PangoAttribute`, which should be freed with [[email protected]]