zink: don't crash when setting rast-state to NULL