Alloy effects in GaInN/GaN heterostructures