gallium/radeon: remember that texture_from_handle was called and its flags