[flang] Fix creation of deferred shape arrays by POINTER statement