A girl who was attacked by an XL Bully at her home in Yorkshire died from neck injuries sustained in the incident, an inquest opening has heard.