THDiskFile: workaround insane Mac OS X fread bug ID# 6434977.
luajit: last changes from Mike Pall
DiskFile: removed restrict keyword
Merge remote-tracking branch 'upstream/master'