Attempted robbery suspect injured, arrested in Gilbert