Fix bug #5531 - fix conversion of ns units when converting from nttime to timespec.