Chip sales cushion Samsung Q4 profit decline