[iwhd] maint: limit scope of backend.c globals