Auto merge of #18302 - upsuper:atom-assert, r=bholley
Auto merge of #18302 - upsuper:atom-assert, r=bholley

Harden assert for creating atom from raw pointer

One of Stylo's common assertion turns out to be from having a null Atom (see [Gecko 1385925 bug comment 7](https://bugzilla.mozilla.org/show_bug.cgi?id=1385925#c7)). It would be helpful if we can catch this kind of crash earlier via a release-assertion.

This may regress performance to some extent which I'm not sure. But we can probably have it there for diagnosis for now, and remove later.

<!-- 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/18302)
<!-- Reviewable:end -->

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