Salman Khan in tears attends funeral of a friend