Fix compiling empty fmt! strings
auto merge of #7227 : alexcrichton/rust/issue-7218, r=brson

Closes #7218