cifs: fix session state check in reconnect to avoid use-after-free issue (CVE-2023-53794) | HOL Guard CVE