Call wfThumbIncrAttemptFailures() in thumb.php on fatals

Change-Id: I3dbe07d12abdc265d377cd05bb87c837df156995
Merge "Call wfThumbIncrAttemptFailures() in thumb.php on fatals"