fixes #294 Add DB_PRELOCKED_WRITE to avoid write lock acquision on
getf_next if we've already taken locks on IndexCursor creation