[runtime] Fix pedump by using the normal embedding APIs instead of initializing parts...