stat(1): Do not pass S_IFBLK to devname unconditionally
PR: 269190 Reviewed by: kib MFC after: 1 week