Stabilization of the Alfvén wave instability in a two-component tokamak