Dimensionality-Driven Metal-Insulator Transition in Spin-Orbit-Coupled SrIrO3