Fix function mismatch for LookupString

With PostgreSQL on, build fails in file_transfer_db.cpp due to a function mismatch - LookupString called with a char* buffer needs the size of the buffer as the third argument. The "buf" buffer is defined using ATTRLIST_MAX_EXPRESSION so use that as the size.