staging: vchiq_core: move internals to C source