libgimp is anyway processed at the very end after all other libgimp* were built. This way, it also fixes #3746, by removing the $(top_srcdir) everywhere from introspected files, hence making the build work again with older automake.