mtd-utils: add Android support

Add support for building in Android build environment:
 * nanddump
 * nandwrite
 * ubiattach
 * ubidetach
 * ubimkvol
 * ubinize
 * ubiformat
 * mtdinfo

Executables are installed on ramdisk by default
Executables are statically linked