Backport #35287 by @alexblackie
GitHub changed where the attachments on releases are stored, which means
repo migrations with releases now fail because the redirect URLs don't
match the base URL validation. We need to update the base URL check to
check for the `release-assets` subdomain as well.
Co-authored-by: Alex Blackie <alex@blackie.ca>