Correct CMakeLists.txt for CalculateFlatBackground re #5225

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
Deprecate FlatBackground re #5225

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>