sw: SwAccessibleDocument: fix crashes

Add missing SolarMutexGuards and also GetMap() may be 0 if it's
disposed. (regression from 76c549eb01dcb7b5bf28a271ce00e386f3d388ba)

Change-Id: I65312098e3d4cc6f686c3fc9e05dc8a6c4da34ce