app: add gimp_get_primary_accelerator_mask() to gimpwidgets-utils