Auto merge of #16910 - froydnj:bindgen-cross-compilation-take-2, r=emilio
Auto merge of #16910 - froydnj:bindgen-cross-compilation-take-2, r=emilio

Bindgen cross compilation take 2

Fix all the cross-compilation issues in build_gecko.rs.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16879

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16910)
<!-- Reviewable:end -->

emilio/servo,emilio/servo,CJ8664/servo,ConnorGBrewster/servo,avadacatavra/servo,dsandeephegde/servo,dsandeephegde/servo,szeged/servo,dati91/servo,upsuper/servo,peterjoel/servo,pyfisch/servo,KiChjang/servo,mattnenterprise/servo,fiji-flo/servo,mattnenterprise/servo,SimonSapin/servo,paulrouget/servo,nnethercote/servo,DominoTree/servo,paulrouget/servo,fiji-flo/servo,thiagopnts/servo,emilio/servo,nnethercote/servo,eddyb/servo,mbrubeck/servo,szeged/servo,DominoTree/servo,rnestler/servo,jimberlage/servo,peterjoel/servo,peterjoel/servo,avadacatavra/servo,SimonSapin/servo,nnethercote/servo,thiagopnts/servo,nnethercote/servo,fiji-flo/servo,larsbergstrom/servo,pyfisch/servo,mbrubeck/servo,pyfisch/servo,notriddle/servo,pyfisch/servo,rnestler/servo,CJ8664/servo,notriddle/servo,larsbergstrom/servo,larsbergstrom/servo,notriddle/servo,sadmansk/servo,splav/servo,paulrouget/servo,upsuper/servo,mbrubeck/servo,mattnenterprise/servo,emilio/servo,canaltinova/servo,KiChjang/servo,fiji-flo/servo,DominoTree/servo,larsbergstrom/servo,saneyuki/servo,KiChjang/servo,larsbergstrom/servo,dati91/servo,nnethercote/servo,pyfisch/servo,KiChjang/servo,sadmansk/servo,rnestler/servo,mattnenterprise/servo,sadmansk/servo,thiagopnts/servo,avadacatavra/servo,ConnorGBrewster/servo,cbrewster/servo,jimberlage/servo,eddyb/servo,jimberlage/servo,ConnorGBrewster/servo,upsuper/servo,mbrubeck/servo,pyfisch/servo,CJ8664/servo,nnethercote/servo,ConnorGBrewster/servo,KiChjang/servo,peterjoel/servo,splav/servo,upsuper/servo,jimberlage/servo,anthgur/servo,KiChjang/servo,DominoTree/servo,DominoTree/servo,szeged/servo,anthgur/servo,szeged/servo,sadmansk/servo,fiji-flo/servo,dati91/servo,mbrubeck/servo,notriddle/servo,thiagopnts/servo,paulrouget/servo,saneyuki/servo,sadmansk/servo,larsbergstrom/servo,jimberlage/servo,dati91/servo,SimonSapin/servo,cbrewster/servo,notriddle/servo,notriddle/servo,rnestler/servo,mbrubeck/servo,szeged/servo,canaltinova/servo,pyfisch/servo,canaltinova/servo,emilio/servo,cbrewster/servo,cbrewster/servo,canaltinova/servo,sadmansk/servo,anthgur/servo,splav/servo,szeged/servo,DominoTree/servo,SimonSapin/servo,avadacatavra/servo,dsandeephegde/servo,paulrouget/servo,avadacatavra/servo,peterjoel/servo,nnethercote/servo,SimonSapin/servo,pyfisch/servo,cbrewster/servo,splav/servo,DominoTree/servo,CJ8664/servo,SimonSapin/servo,fiji-flo/servo,larsbergstrom/servo,ConnorGBrewster/servo,anthgur/servo,notriddle/servo,notriddle/servo,avadacatavra/servo,peterjoel/servo,DominoTree/servo,larsbergstrom/servo,dati91/servo,larsbergstrom/servo,rnestler/servo,saneyuki/servo,saneyuki/servo,paulrouget/servo,CJ8664/servo,splav/servo,mbrubeck/servo,splav/servo,szeged/servo,fiji-flo/servo,splav/servo,CJ8664/servo,pyfisch/servo,szeged/servo,saneyuki/servo,ConnorGBrewster/servo,saneyuki/servo,anthgur/servo,canaltinova/servo,nnethercote/servo,dati91/servo,SimonSapin/servo,canaltinova/servo,KiChjang/servo,KiChjang/servo,ConnorGBrewster/servo,anthgur/servo,cbrewster/servo,mattnenterprise/servo,emilio/servo,cbrewster/servo,dati91/servo,saneyuki/servo,thiagopnts/servo,rnestler/servo,eddyb/servo,sadmansk/servo,thiagopnts/servo,peterjoel/servo,dsandeephegde/servo,dsandeephegde/servo,upsuper/servo,dati91/servo,eddyb/servo,eddyb/servo,splav/servo,emilio/servo,emilio/servo,saneyuki/servo,eddyb/servo,emilio/servo,jimberlage/servo,fiji-flo/servo,pyfisch/servo,jimberlage/servo,thiagopnts/servo,peterjoel/servo,eddyb/servo,notriddle/servo,DominoTree/servo,KiChjang/servo,jimberlage/servo,canaltinova/servo,nnethercote/servo,dsandeephegde/servo,mattnenterprise/servo,szeged/servo,szeged/servo,avadacatavra/servo,eddyb/servo,anthgur/servo,upsuper/servo,saneyuki/servo,CJ8664/servo,sadmansk/servo,splav/servo,paulrouget/servo,mattnenterprise/servo,rnestler/servo,paulrouget/servo,mattnenterprise/servo,canaltinova/servo,upsuper/servo,SimonSapin/servo,anthgur/servo,ConnorGBrewster/servo,upsuper/servo,paulrouget/servo,emilio/servo,rnestler/servo,jimberlage/servo,avadacatavra/servo,nnethercote/servo,cbrewster/servo,larsbergstrom/servo,dsandeephegde/servo,peterjoel/servo,KiChjang/servo,CJ8664/servo,saneyuki/servo,thiagopnts/servo,notriddle/servo,dsandeephegde/servo,paulrouget/servo,splav/servo,DominoTree/servo,mbrubeck/servo,peterjoel/servo