[ubsan] Give entry methods default (not hidden) visibility.

Fixes using ubsan on shared libraries in linux, for example.