Factory reset: Allow passing wipe_media to recovery

Change-Id: I3b6e224064055b2eef8c2909c7d36f9a76014d70
Merge "Factory reset: Allow passing wipe_media to recovery" into pac-4.4