libevent: Consistently check for failure from evbuffer_pullup()