Update for R16 crypto changes.

R16 introduces a new crypto interface, old functions are deprecated. This isn't breaking change but it is not too uncommon to compile with warnings_as_errors which turns those warnings into errors and can break a compile.

The fix is to run a rebar script (this one is from riak_core).