Add strict `atomicModifyIORef` for base < 4.6