Cameron Diaz says she laughed off sexism in Hollywood in order to 'get through unscathed'