bxc#10531: SearchField: fix build

NSMenu.InsertItematIndex -> NSMenu.InsertItem
bxc#10529: Rulers: fix build

NSView.MouseinRect -> NSView.IsMouseInRect