[PATCH 5.4 347/389] locking/atomic: Make test_and_*_bit() ordered on failure