gold extends gains after housing data