CVE-2025-37968 iio: light: opt3001: fix deadlock due to concurrent flag access