Update resize.c

build errors after 3.4.87