Feedback Stabilization of the Resistive Wall Mode in General Geometry