avr: Fix RAM size calculation

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>