build: fix out of sourcedir build for check
build: fix out of sourcedir build for check

Move the internal header to nodist (as we copy it around anyway).
Use builddir in pattern substitution for it.
Fixes #61483.

StreamUtils/gstreamer,ylatuya/gstreamer,ahmedammar/platform_external_gst_gstreamer,centricular/gstreamer,Distrotech/gstreamer,collects/gstreamer,collects/gstreamer,mparis/gstreamer,krieger-od/gstreamer,StreamUtils/gstreamer,krieger-od/gstreamer,lubosz/gstreamer,lovebug356/gstreamer,centricular/gstreamer,jpxiong/gstreamer,cablelabs/gstreamer,shelsonjava/gstreamer,surround-io/gstreamer,mrchapp/gstreamer,collects/gstreamer,lovebug356/gstreamer,mrchapp/gstreamer,drothlis/gstreamer,ahmedammar/platform_external_gst_gstreamer,cablelabs/gstreamer,mrchapp/gstreamer,Distrotech/gstreamer,lovebug356/gstreamer,cfoch/gstreamer,Distrotech/gstreamer,justinjoy/gstreamer,justinjoy/gstreamer,mparis/gstreamer,lovebug356/gstreamer,justinjoy/gstreamer,drothlis/gstreamer,cfoch/gstreamer,mrchapp/gstreamer,Lachann/gstreamer,collects/gstreamer,Lachann/gstreamer,lubosz/gstreamer,jpxiong/gstreamer,cfoch/gstreamer,krieger-od/gstreamer,cfoch/gstreamer,krichter722/gstreamer,drothlis/gstreamer,krichter722/gstreamer,jpakkane/gstreamer,ylatuya/gstreamer,jpxiong/gstreamer,Lachann/gstreamer,justinjoy/gstreamer,surround-io/gstreamer,StreamUtils/gstreamer,cablelabs/gstreamer,ensonic/gstreamer,mrchapp/gstreamer,surround-io/gstreamer,drothlis/gstreamer,justinjoy/gstreamer,surround-io/gstreamer,jpxiong/gstreamer,mparis/gstreamer,krieger-od/gstreamer,cablelabs/gstreamer,collects/gstreamer,StreamUtils/gstreamer,krichter722/gstreamer,ensonic/gstreamer,cfoch/gstreamer,shelsonjava/gstreamer,surround-io/gstreamer,jpakkane/gstreamer,ahmedammar/platform_external_gst_gstreamer,ylatuya/gstreamer,ahmedammar/platform_external_gst_gstreamer,jpxiong/gstreamer,lubosz/gstreamer,Distrotech/gstreamer,centricular/gstreamer,shelsonjava/gstreamer,Distrotech/gstreamer,ahmedammar/platform_external_gst_gstreamer,Lachann/gstreamer,magcius/gstreamer,mparis/gstreamer,ensonic/gstreamer,StreamUtils/gstreamer,magcius/gstreamer,shelsonjava/gstreamer,centricular/gstreamer,Lachann/gstreamer,lovebug356/gstreamer,ensonic/gstreamer,ylatuya/gstreamer,ensonic/gstreamer,krichter722/gstreamer,lubosz/gstreamer,jpakkane/gstreamer,magcius/gstreamer,ylatuya/gstreamer,drothlis/gstreamer,jpakkane/gstreamer,centricular/gstreamer,mparis/gstreamer,shelsonjava/gstreamer,krieger-od/gstreamer,magcius/gstreamer,jpakkane/gstreamer,lubosz/gstreamer,krichter722/gstreamer,magcius/gstreamer,cablelabs/gstreamer