Amplification of plasma modes in semiconductor heterostructures