jit: handle equality of function pointer types