Optimal Fiber Reinforcement of Masonry Walls Loaded Out-of-Plane