apply patch from https://github.com/MIC-DKFZ/batchgenerators/pull/59 to allow batchgenerators to build with pillow 7.1.2+