Rihanna Performs on ‘SNL’ 40th Season Finale