Fix solaris support of riak-debug

This PR removes the here strings from riak-debug which are bashisms.  This also adds the solaris header as we have in our other scripts.

This fixes: basho/riak#546

While this fixes #546, I filed basho/riak#555 to cover some of the other issues on Solaris that are beyond the scope of this PR.