Add missing #include <stddef.h> needed for offsetof when using glibc.