tdb: use TDB_RECOVERY_INVALID_MAGIC rather than 0