pbkdf2: fix key stretching

Uses the implementation of PBKDF2 from pbkdf2-compat package.