fix stat usage

Change-Id: Iab3290adca1602a23fc407d2b3f50b9aeac60389
Fix usage of stat vs statfs

Change-Id: Id59b79f079c587630f5f6ed0418a45f2b8cd99ff

Conflicts:
	nandroid.c
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_bootable_recovery into cm-10.1