am65xx: Fix Compilation warnings on int to pointer conversion