Add missing constructor for ShadowResourceCursorAdapter.

Closes #1393.