Fixed string zero termination

Added string zero termination in scrypt
to remove "Warning: String is not zero-terminated" in debug php build