[PATCH 6.1 278/313] platform/x86: apple-gmux: Add apple_gmux_detect() helper