ocfs2: tighten up strlen() checking