pass a mut pointer to tb_{poll,peek}_event when retrieving an event
pass a mut pointer to tb_{poll,peek}_event when retrieving an event

Also drop the explicit cast to the raw pointer type, since it's not needed.

tedsta/rustbox,benaryorg/rustbox,gchp/rustbox,Zypeh/rustbox,tempbottle/rustbox,christopherdumas/rustbox