Fix zval_copy_ctor

PR #1986 should be merged first. This change contains one new commit.

The type of the dest zval was copied from the source, but in the KindOfStaticString case, the data of the dest zval is overwritten with a plain string. This causes an assertion when the dest zval is used.

Enable the test which previously failed due to this bug.