Fix build error uncovered with c/s 25149 when compiling tools w/o MEMSHR. Signed-off-by: Christoph Egger