compiler: fix optimizer identifier resolution
compiler: fix optimizer identifier resolution

- the optimizer may introduce unquoted references to canonical symbols,
  which was could cause a loop by resolving through resolve-identifier
- fix kw lambda lifting to properly introduce identifiers

vyzo/gerbil,vyzo/gerbil,vyzo/gerbil