[libc] Use entrypoints.txt as the single source of list of functions for a platform.