Shah Rukh Khan attends NRI of the Year award function