avr: use calloc to avoid set 0 and no warning