Network Admin: Properly check if the theme is active on the main site to avoid deleting it via bulk actions.

props ocean90.
fixes #29861.

git-svn-id: https://develop.svn.wordpress.org/trunk@29839 602fd350-edb4-49c9-b593-d223f7449a82