Debra Messing uses red carpet moment to attack TV network’s gender pay gap