drivers: android: logger: fix error
ISO C90 forbids mixed declarations and code