refine deblocking filter
deblock: fix type conversion warnings