[PATCH 4.19 34/61] driver: platform: Add helper for safer setting of driver_override