libratbag-data: fix possible NULL dereferences
libratbag-data: fix possible NULL dereferences

This can happen when a device has not properly initialized and this
fields have not been set.

libratbag/libratbag,libratbag/libratbag,libratbag/libratbag