ktime_to_ms compatibility with linux < 2.6.35