fix syntax of generated php

This patch fixes an issue genphp generates invalid php code such that

    new _hx_array(array())->toString();

corresponding to the haxe's code

    (cast [] : Array<Int>).toString();