improve get_overloaded_function_score()

AST node is not need for overload resolution
fix error message on checking main function
add a separator