msp430: implement device probing and size checking

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>
avr: clean up arch.mk

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