If you are not interested in the xp then simply get your cleric to cast sanctuary. The golems cant touch the cleric while the spell is in effect. Simply take the treasure and leave the room. NB: only the cleric is protected so only the cleric may enter the room.
------------------
Nobody tells me what to do, not even
me !