[PATCH 6.4 045/234] cifs: fix session state check in reconnect to avoid use-after-free issue