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