fix AFCFileRef[Read|Write] prototypes

Incorrect AFCFileRefRead prototype was causing crashes in 64-bit build when reading large files.