BaseTools: remove duplicate function name