Minor optimization in PoS kernel: call scrypt_blockhash once time instead of multiple times