Add a patch to fix posix_fadvise memory leak. Fixes #2835