Changes in the tax code mean that charitable donations may no longer be deducted, which could come as a surprise to many taxpayers.