[runtime] Don't allow execution of dynamic assemblies without run access. Fixes #7126