oprofile: fix race condition in event_buffer free