pass through null pointers and null types in cxa_catch_exception; fixes #2616