scripts/size: cleaner approach using posix-shell syntax, throwing away a dirty sed call

instead if calling 'avr-size' 3 times, we parse the output once. also we take care of all vars, so even when a section is n/a, the script will not throw an error. (have seen empty data-sections)