libc: locale: fix collation file size validation
At a minimum, we need enough for the colllation format version string +
locale definition version string and a full collate_info definition,
rather than just the first two and a pointer.
Sponsored by: Klara, Inc.
(cherry picked from commit e15da6b10a4971f43aa604fca3ea43effa096f4c)