1) Only depend on rh_raw_loader in android builds.
2) Support reading entire sample into memory.