Fixed iconv() error behaviour.

Summary: Closes https://github.com/facebook/hhvm/pull/4057

Reviewed By: @ptarjan

Differential Revision: D1638836

Signature: t1:1638836:1414531884:8088697d400e0484115b8bc67c3b3dc1dea92f78