gstreamerintegration: Move processPipelineMessage to static function
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>