mesa/st: start adding memory object support