Peak phosphorus is one of the peak i'm less worried about in my lifetime or my children's lifetime. Morocco reserves are probably underestimated, as are Algerian reserves. As long as Morocco stay stable and is help by its economic partners during hard times (France and Spain mostly), it wont' be an issue.
But you're right, hydroponics solve this issue.