Fix a dereference of a null pointer

When exiting from for loop by not satisfying the condition of `(s = next[i])` at FcCacheRemoveUnlocked()
referring s->alloated will be invalid.
2 jobs from master in 5 minutes and 43 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #55112
shared-build

00:05:43

passed #55113
static-build

00:05:33