Unlock mutex if MsAnalyzeDisplay received a negative color

Merged Andrea Gianarda requested to merge fix/msanalyze_mutex_lock into release/5.4

Merge request reports