Fix T[] const-ness issue in put

Per the discussion here: http://forum.dlang.org/thread/ozeprbbmwwxurzgtdjva@forum.dlang.org?page=2#post-neygzpdbwembfzytckvq:40forum.dlang.org

Assigning to @walterBright and/or @andralex for review.