Fix a bug in macro GetDBM2.

When GetDBM2 get expaned the code tries to use `dbmp` but there is
no such variable available in that scope.