A girl has been rushed to hospital after being attacked by dogs in Greater Manchester - three people were arrested following the incident.