Defects and transport in Gd-doped BaPrO3