mesa/st: fix tracking of mapped buffer ranges