add some type declarations to scrypt

Light tests with SBCL indicates these make scrypt ~3x faster.