[PATCH 5.7 045/244] cifs: prevent truncation from long to int in wait_for_free_credits