lisa.tests.base: Fix trace_window()
Handle when the task was renamed without a sched_switch: use the phase start time instead of the preceding switch, since there never was a switch-in for that PID+comm so far.
GitLab Maintenance scheduled for Thursday, 18th December 2025, from 7:00 AM to 10:00 AM BST. GitLab will be in read-only mode and experience short periods of complete downtime (up to 20 minutes) during this window.
Handle when the task was renamed without a sched_switch: use the phase start time instead of the preceding switch, since there never was a switch-in for that PID+comm so far.