Convert the local_irq_* macros to static inline functions to avoid "unused variable 'flags'" warnings when building with the atomic operations from asm-generic/atomic.h. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com>