[PATCH 5.4 44/74] driver: platform: Add helper for safer setting of driver_override