Australia shares rise on mining and gold boost; set for third weekly drop