fdo#84935: basic: DocBasicItem is a UNO service, lock SolarMutex in dtor

Change-Id: Ia31d735ba54d18f406653debce04a07c077d09eb