Update recovery.c

Disable factory reset on recovery boot