Return actual error code in failure state of libscrypt_scrypt

Hello,

When integrating libscrypt I was getting a `-1` value on calls to `libscrypt_scrypt`.  The following change allows the client developer to diagnose the error being generated when calling `libscrypt_scrypt` with invalid arguments.  Please let me know if you have any further questions.  Thanks!