fix AESCTR increasing the counter before first use

fixes #32