core/asset: avoid Go loop-variable pitfall
core/asset: avoid Go loop-variable pitfall

This is the result of a code audit following the discovery of the bug fixed
in https://github.com/chain/chain/pull/716. I found only one other place
that needed the same change.

Closes #717

chain/chain,chain/chain,chain/chain,chain/chain,chain/chain,chain/chain