Fix various problems to do with the first active lane of the result of optimized fp atomics, as explained in the comment. Fixes #97554
Fix various problems to do with the first active lane of the result of optimized fp atomics, as explained in the comment. Fixes #97554