Update miner.cpp

1. Added scratchpad memory allocation support.