app: add more accessors to GimpGrid and use them instead of grid->foo