Risk of Training Diagnostic Algorithms on Data with Demographic Bias