macos: support python plugins in meson
This change makes sure that plugins can load when gimp is built with meson. This is because .typelibs and .gir files do not have full library paths when build using meson (this is different from autotools).
This change allows the library loader to find the gimp libraries in a known location.