Update the flutter script's locking mechanism and follow_links (#57590)

Update the flutter and dart scripts' locking mechanism and follow_links function to be more robust and support more platforms.

This adds support for using mkdir as a fallback if the system doesn't have flock instead of using shlock, since shlock doesn't work on shared filesystems.

It also fixes a problem in the follow_links function where it failed when the link resolved to the root directory.
https://dart.googlesource.com/external/github.com/flutter/flutter/+/379e11b64194bd9b1b4a159134476d69856f8d11
diff --git a/commits.json b/commits.json
index 4054681..e1a507a 100644
--- a/commits.json
+++ b/commits.json
@@ -1,5 +1,5 @@
 {
   "external/github.com/flutter/engine":"af14d2adf0e0933703cdf885ff2361a8f3eef00c",
-  "external/github.com/flutter/flutter":"8ef291545330f18177d797a3e0ecdc5508a5eefd",
+  "external/github.com/flutter/flutter":"379e11b64194bd9b1b4a159134476d69856f8d11",
   "sdk":"c703e05689125b0c17aba826cfc7e127e3adfa88"
 }
\ No newline at end of file