Getting a side job to earn some money can have a surprising impact on taxes and Social Security benefits.