Fix an exception in the API when accessing file attachments without review UIs.

The thumbnail field in FileAttachment was accessing the review_ui without first
checking it for None-ness. Trivial fix.

Fixes bug 3145.

Reviewed at https://reviews.reviewboard.org/r/5032/