ivory-tower-freertos: eventGuard block omits ignored return value

* fixes complaint where the return value assignment would stick around
  in the generated ivory.