fix syntax of generated php

genphp generate invalid php code such that

       new _hx_array(array())->toString();

corresponding to the haxe's code

       (cast [] : Array<Int>).toString();
Merge pull request #2402 from mandel59/genphp-syntax-error

fix syntax of generated php