AVR8: Fix a bug in spm instruction and add comparison automated test.