r19431: merge recent talloc performance improvements from Samba4