Move parameters for of_scrypt() to a struct

This should make it more readable for such a large number of parameters.