[flang] Merge pull request flang-compiler/f18#944 from flang-compiler/tsk-pointer