Fix uloader build

CL 38411ed01df0f591e7e7d1e50294396683b79042 unintentionally declares
the variable recovery_mode inside a #ifdef CONFIG_SPI section. Move
the declaration outside of the section, also fix a compiler warning
about the declaration of is_recovery_mode().

Change-Id: Ib11a8dc3656afc5d41d345e21a944627b5fded7e
1 file changed