Manipulation: Make cross-document buildFragment work on Android 2.3

Fixes http://bugs.jquery.com/ticket/14796

cc @gibson042