Fix some *_component_getFactory function types

Change-Id: I8e7cc2d26df27e2eb48ddec53ea0a4f1d1381e23