Fixes #3546: Fix memory hook for leave_pinned

---svn-pre-commit-ignore-below---

r28206 [[BR]]
Make the linux memory component do the failure path if it was disabled.