mesa: new assertions, comments about buffer mapping