advfs: Shift parameters of ftx_lock_{write,read} to current state
advfs: Remove SMSYNC_DBG()
advfs: Remove unused global smsync_debug