Add dbid arg to the DBPrivOpen function and make sure that the locks DB is open in NOSYNC mode