Added support for transforming only origins with greasepencil objects.
The new functions is based on BKE_gpencil_transform. That is why there is FIXME statements in there.
Hopefully I didn't miss anything. It seems to work nicely when I did my tests.