Fix race condition between parseSecurityOpt and container.Mount

Signed-off-by: Alexandr Morozov <lk4d4@docker.com>
Merge pull request #9625 from LK4D4/fix_race_in_sec_opts

Fix race condition between parseSecurityOpt and container.Mount