Effect of AlGaAs composition on the type-I to type-II transition in AlInAs/AlGaAs self-assembled quantum dots