Change "define-prim" so that the backend's database of primitives is checked to see if the primitive is inlinable