Remove some unneeded sizeof checks