posix: return actual file block size from stat functions, which significantly improves stdout buffering performance
console: fix warning, and set block size to the internal ring buffer maximum size.