Support FreeBSD framebuffer

Origin: http://www.ac.auone-net.jp/~baba/w3m-img/index.html
Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122673
Merge branch 'feature/w3m-img-freebsd'