lib/util: Map 0x7fffffffffffffffLL as 0x7fffffffffffffffLL in time conversion