Fix a bug in `validate_colocate` when a variable is not created in a strategy scope.
Fix a bug in `validate_colocate` when a variable is not created in a strategy scope.

In some cases `v._distribute_strategy` can be None, which was causing an AttributeError when trying to check if the `extended` field matched the expected value.
