OMAP3: Move get_cpu_family() function to not duplicate code