Added IsValid check for physics object

To prevent errors like this:
[ERROR] gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:35: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type)