Engineering of octahedral rotations and electronic structure in ultrathin SrIrO3 films