[Y2038] [RESEND v2] mtd: tests: Replace timeval with ktime_t