removed assert() for stat on non-devices. Now it returns -1. This makes gnat pass about 55 more tests in the acvc.