LightsWrapper: move define(s) around and ifdef logs

Change-Id: I3452a93b73be95f28c08d17ec6cf7c56643c8394
LightsWrapper: fix logic of judging pattern_use_softdim

Change-Id: I43855c228e8b1cdce2df00f8cdb8c3753e9b57f7
LightsWrapper: remove compilcation warnings

Change-Id: Ifd1e6c2b487fedc21e9aa6243c7ec6087ba3dfc7