ATHENS — Taking direct aim at hedge funds and other private holders of Greece’s debt, Prime Minister Lucas Papademos says he will consider legislation forcing the creditors to take losses on their holdings if no agreement can be reached in critical negotiations scheduled to resume Wednesday.