Retry mmap() without MAP_JIT on older macOS
Retry mmap() without MAP_JIT on older macOS

The MAP_JIT flag is only supported on macOS 10.14 and higher, so mmap()
may fail on older ones.

Bug: chromium:985816
Change-Id: If0e12d61b7f243d804e0213a43160e7b3db106d3
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/34511
Tested-by: Nicolas Capens <51edc787c30f24c4904e8ffbb5523c3a9f7a451d@google.com>
Reviewed-by: Alexis Hétu <1c7141772178a7e80858c3db5052b328076f08f4@google.com>

google/swiftshader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,google/swiftshader,bkaradzic/SwiftShader,google/swiftshader,bkaradzic/SwiftShader