Do not use C++11 std::vector.data()

std::vector.data() is a C++11 feature that makes my OSX build machine unhappy.

Somebody who mines with getblocktemplate, please help test.

Fixes #2285