[libc] Fix warnings on release build.