PDF content stream optimizer