TComWeightPrediction: add braces to prevent errors for an optional else statement
TComWeightPrediction: initialising pointers to NULL

getWPScaling will assign appropriate weight pred tables to these.