Fixed some warnings; added loop and pointer constraints for C66x compiler