fix bigint shift operators

Plus a few ccall argument type fixes.