Fix some warnings in OpenAES from unused variables/functions