Obama snaps ‘selfie’ at Mandela memorial