scriptelement.py: Don't mark layout locations as read-write directories

`mark_directory()` was originally called on layout locations to enable
SafeHardlinks to protect the CAS cache from corruption. This is no
longer relevant.

This prevents the root directory of the sandbox from accidentally being
marked as REAPI output directory, avoiding expensive capture operations.
1 file changed