V4L/DVB (6961): tda18271: move common code to tda18271-common.c