Government buys former Whitlam family home