S5L8700: fix off-by-one error in kernel timer and fix incorrect interrupt mask in...