app, libgimp*, pdb: move more enums from app/core to libgimpbase