C Corporations don't pay capital gains and dividend taxes. Their investors do. Unless this announcement has a positive effect on HP's stock, there are no additional gains or dividends to be had ahead of the tax rates going up.
For a real example of corporate maneuvers around the 'fiscal cliff', see Wal-Mart, which is moving up its dividend to help its investors avoid a potentially higher rate: