by converting std::memory_order to int to get rid of this error:
error: cannot convert 'const std::memory_order' to 'int'
59 | __atomic_thread_fence(std::memory_order_seq_cst);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
| |
| const std::memory_order
while using said function
Resolves: RHEL-104565