[android] don't ever load an entire image into memory

This happens on API 27+28 if loading TIFF or WebP files.
Using an InputStream with a read limit prevents this.
1 job for 1468-restrict-image-size in 10 minutes and 56 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #2908
test

00:10:56