fs: cifs: fix array subscript is above array bounds

contains backported changes linux mainline 3.4+

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>