Add support for scrypt(N, 1, 1)

Backport from cpuminer 2.4

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>