[LIBS] VFS: Fix possible integer overflow.

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>