[PATCH 5.13 005/113] platform/x86: Add and use a dual_accel_detect() helper