Both facts may be true without the causal link being present.
Establishing the US as the global reserve currency had little if anything to do with where gold was stored, and far more to do with US economic and military power generally in the post-war era.