gallium: new transfer flag: DISCARD_WHOLE_RESOURCE