Correctly set timer1's ICP on atmega8, atmega16 and atmega32.

If the #define approach is not acceptable, please tell me. Seemed to be the easiest way.