[PATCH v3 01/11] driver: platform: Add helper for safer setting of driver_override