[PATCH v2 OLK-5.10 1/3] mm: avoid unsafe VMA hook invocation when error arises on mmap hook