Implement lazy access to a PaletteItem color

It reduces the risk of error when a palette item is defined
before another item it references.