[PATCH 4.14 32/68] CIFS: Fix credit calculation for encrypted reads with errors