Fixed off-by-one in php_url_parse_ex

Change order of condition, previously pointer could be derefrenced before
bound check was done.
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed off-by-one in php_url_parse_ex

Conflicts:
	ext/standard/url.c
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed off-by-one in php_url_parse_ex