Probing the band alignment in rectifying SrIrO3/Nb:SrTiO3 heterostructures