Initialize event queues before termcapinit() call

- Move queue initialization out of event_init() into
  new function event_early_init()