add explicit size_t call to gen-ext-hhvm

This fixes the OSX build.