Fix snapshot builders

The test in question does not pass when cross compiling because the syntax
extension must always be compiled for the host, not the target.
auto merge of #17440 : alexcrichton/rust/fix-snapshot, r=brson

The test in question does not pass when cross compiling because the syntax
extension must always be compiled for the host, not the target.