Update bufferevent_filter.c

Adding null check for buffer event filter pointer in below API's 
static int be_filter_enable(struct bufferevent *bev, short event)
and
static int be_filter_disable(struct bufferevent *bev, short event)

before dereferencing the buffer event filter pointer we should check for null as upcast api might return null (buffer event filter pointer )