fix a problem with scratchpad being allocated with a hardcoded size. This made vertcoin CPU validation crash.