fix bug 69002 (v. 3.2.1)

constant CRYPT_SHA512 was added in PHP 5.3.2

Change-Id: Idebca95ed39b6145f8962269450b7a58834cadf8