[4.2] Fixed Carbon InvalidArgumentException When Using toArray or toJson On Unset Timestamps

An unset Timestamp in database would sometimes cause Carbon to fail:
InvalidArgumentException in Carbon.php line 385: Unexpected data found.

Proposed changes fix issue.
Which whitespace? I added whitespace according to what tests were already there.