riak: move logs and data to var

Closes #30460.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
riak 1.4.10