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