Use the stdlib's compare_digest for constant time comparisons when available

cc: @dstufft