[PATCH 5.15 068/128] driver: platform: Add helper for safer setting of driver_override