Move parameters for of_pbkdf2() to a struct

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