Fixed crash in GifImageView

Fixed a crash when null was passed in for Attributes from the ctor. This
is otherwise valid for a View.