[PATCH 6.12 095/122] tools: fix atomic_set() definition to set the value correctly