[MTD] update internal API to support 64-bit device size