Fixing a bug in addroundkey_share function

I believe the inner loop should be bound to number of shares (n) but it was fixed to 16 which leads to accessing uninitialized memory space, it's is very critical in low memory systems.
Merge branch 'avr-gcc-devel'

Merge master branch with avr-gcc implementation of the code