Amir retired from international cricket