[PATCH 5.4 040/215] cifs: prevent truncation from long to int in wait_for_free_credits