LightsWrapper: fix logic of judging pattern_use_softdim

Change-Id: I43855c228e8b1cdce2df00f8cdb8c3753e9b57f7