modules/pkgconfig: Fix code to handle CustomTarget and CustomTargetIndex
modules/pkgconfig: Fix code to handle CustomTarget and CustomTargetIndex

pexip/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,pexip/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson,pexip/meson,pexip/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,pexip/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson