m68k/mac: Add missing platform check before registering platform devices