gold rises on safe-haven buying after plan fails