sam3n: fix confusion between interrupt numbers and peripheral ids.