Fix for FreeBSD size reads

Patch from FreeBSD: patch-src-disku.c