Avoid unused variable warning in quote_*!

The provided span isn't used in all cases (namely primitives).
auto merge of #11660 : sfackler/rust/quote-unused-sp, r=huonw

The provided span isn't used in all cases (namely primitives).