House prices increased by 4.7 annually in December and were sitting just below an all-time high, the building society said.