Layer-dependent interlayer antiferromagnetic spin reorientation in air-stable semiconductor CrSBr