scrypt: fix segfault related to neoscrypt nfactor