BaseTools: change DscBuildData functions without need for self to staticmethod