[PATCH AUTOSEL 5.4 12/16] cifs: prevent truncation from long to int in wait_for_free_credits