Fixes #6828 move zend\serializer deps how required

Zend\Serializer for Zend\Cache component is only required-dev?

https://github.com/zendframework/Component_ZendCache/search?utf8=%E2%9C%93&q=Serializer