Regression test portability: stat(1)

- Improve Linux stat(1) emulation for BSD: %t and %T should be 0 for non
  device nodes.
- Remove what seems like a typo in entry-self-heal.t, which blocks in
  Linux stat(1) emulation for BSD.

BUG: 1129939
Change-Id: I7635aa105e6d309cdb74608bdaba4135c7c00dd4
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/9217
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>