Debra Messing on humiliating Hollywood sexism: “Your job is to get naked and say the lines”