Fixed boolean/integer BC break in Zend\Config\Writer\PhpArray

I realized I accidentally broke BC with the readable format config array PR. This is a simple fix that will preserve the config value's datatype when it isn't a string.

See [PR 5259](https://github.com/zendframework/zf2/pull/5259)