Fix use of stat and statfs in nandroid.c

Use statfs for volumes and stat for files.

Change-Id: I734ba37a1d757b30ef2cd1e5f0c9845ec89f98e9