app: don't allow a GimpViewable's compat stock-id to be set to NULL

The only purpose of keeping that property around is to load old
config files, and these can never contain NULL stock-ids.