The head of Algeria's army has called for President Abdelaziz Bouteflika to step down, following weeks of protest against his rule.