[PATCH v7 01/12] driver: platform: Add helper for safer setting of driver_override