Blackberry: fix freezing due to overflow of nanoseconds in timer.