re PR fortran/17792 ([4.0 only] deallocate does not return stat)