Walking for the rights of undocumented immigrants, Jim, longtime photographer, activist, and personal friend, has terminal cancer