This is already a simplification, and should help with avoiding a plt reference when calling an intrinsic with -fno-plt.
With this change we return false for null GVs, so caller only needs to check the new metadata to decide if it should use foo@plt or *foo@got.
Do we ever synthesize references to globals? Those will need a GOT reference if the global turns out to be non-local.