x86/cpu: Add get_llc_id() helper function