GM posts record Q4 operating profit, $4.9B loss on tax charge