glob: implement GLOB_TILDE and GLOB_TILDE_CHECK