[PATCH 6.1 62/73] mm: avoid unsafe VMA hook invocation when error arises on mmap hook