[ARM] i.MX: improve EPIT timer code.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>