Guard division by zero in SCrypt verification.