PtexFilter.cpp: add explicit casts to silence -Wconversion warnings

Signed-off-by: David Aguilar <davvid@gmail.com>