sram: Fixes problem with anonymous memory