gloo: fix setting of _nbytes and _size, plus minor fixes
glir: restore GLObject.target for now