Add argument checks to convert_default and convert_tuple

These are not meant to be user-facing, but as long as they are exported
they probably shouldn't segfault if called with the wrong arguments.