This is the fix to the last commit to add restoration point dump
feature to GTM.

Lock implementation was not good.

	modified:   src/gtm/main/gtm_backup.c
	modified:   src/gtm/main/gtm_seq.c
	modified:   src/gtm/main/gtm_txn.c
	modified:   src/gtm/main/main.c
	modified:   src/include/gtm/gtm_backup.h