Ailing Algerian president makes first public appearance since assuming fourth term