lands acquired by any railroad company under said sections shall at all times be subject to the right of flowage which at any time may become necessary in the construction or maintenance of dams, reservoirs, or other works which may be constructed or erected by or under the authority of the United States for the improvement of the navigation of the Mississippi River and its tributaries: Provided f