Patch from upstream to enable avx2
Patch from upstream to enable avx2

Co-Authored-By: div72 <a70d82ac27b27c98947d4971a4c3f696537cc9cf@users.noreply.github.com>

caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch