Fixed bug #64142 (dval to lval different behavior on ppc64)

On x86_64:
(long)(double)9223372036854775807+1 = -9223372036854775808
On ppc64
(long)(double)9223372036854775807-1 = 9223372036854775807
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #64142 (dval to lval different behavior on ppc64)
NEWS
Merge branch 'PHP-5.5'

* PHP-5.5:
  NEWS
  Fixed bug #64142 (dval to lval different behavior on ppc64)