Gold heads for 5% weekly gain on dollar, debt jitters