[PATCH 6.16 074/627] drivers: misc: sram: fix up some const issues with recent attribute changes