A major flood is threatening Bundaberg after days of rain spilled from dams and set rivers on the rise across Queensland.