apps/gl: More comprehensive testing of glMapBuffer*