Force a GC when shutting down each layout task. Fixes #2342.
auto merge of #2344 : jdm/servo/iframefail, r=Ms2ger