patch for JAL-1853 - use given gap character to reconstruct alignment