gobject: Be consistent in using atomic logic to handle the GParamSpecPool

We init it atomically but then we don't really use it in such way and it may lead to races at read/write times

Helps with #3356

Edited by Marco Trevisan

Merge request reports

Loading