timer: fix a compile warning

...\common\rtgui_app.c(250): warning: #186-D: pointless comparison of
unsigned integer with zero
Remove compiling warning.
Fix VLINE and DLINE pitch issue.