configure: Enable threads on AmigaOS and MorphOS

These have been implemented for a while now and seem to work well.