TC: more tolerate on the timeout tick in semaphore_dynamic

With system that has RT_TICK_PER_SECOND is 1000, it's easy to get one
tick error.
TC: expand TABs
TC: more tolerate for tick in TC thread
Merge pull request #218 from grissiom/more-tc

More tc