app_chanisavail: Fix use of uninitialized variable.