adding sysmem_resizeptr definition to fix the jcom.remote crash