arch-atmega/pwm.c: declare static all not exported variables

Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>
arch-atmega/pwm.c: removed unused return value in pwm_get_polarity_4d

Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>