fix(entity_usage): Support external stream wrappers (e.g., s3fs) in entity_usage by using getExternalUrl()
The previous assertion specifically checked for LocalStream, causing failures when using external storage solutions such as drupal/s3fs. This commit generalizes the assertion to check against StreamWrapperInterface, ensuring compatibility with all supported stream wrappers.