(comint-delchar-or-maybe-eof): Check for null proc.