Allow arrays with define(), to match const syntax support (for master)

Version of https://github.com/php/php-src/pull/951 targeted at master.