[PATCH 3.18 03/52] cifs: Fix potential OOB access of lock element array