wlcore: fix usage of platform_device_add_data()