Moved iobuf.h assertions outside the static inline functions, so that