Use completely static-sized buffers

(cherry picked from commit 49f90025)
(cherry picked from commit 4007a9d0)
7 jobs for 180-fix-cmsgbuf-usage-v9_12-v9_10 in 6 minutes and 27 seconds (queued for 3 seconds)