Add a CRYPTO_atomic_read call which allows an int variable to be read