omap: sram: fix is_sram_locked check