Fix some *_component_getFactory function types

Change-Id: I912f9d1454c049419e9ead6f0ff8d7fa7d8cd6c5