doctor: remove stale OS version check

Closes #19959.