collections: Correct with_capacity_and_hasher

The arguments were accidentally swapped in the wrong order.

Closes #12743
auto merge of #12746 : alexcrichton/rust/issue-12743, r=brson

The arguments were accidentally swapped in the wrong order.

Closes #12743