Fix memory leak

* src/rmatio.c (write_vecsxp_as_cell): Added missing check if the target
  is an empty cell array, in that case no more work to do. Without the
  check another matvar variable was created that no one owned.