samples: counter: alarm: undef redefined TIMER for ambiq

There's duplicated TIMER defined in ambiq hal, need to undef the
old one in alarm sample.

Signed-off-by: Hao Luo <hluo@ambiq.com>
1 file changed