A dog has been euthanised after a young girl was hospitalised following an attack at a Bunnings store in regional Victoria.