Now that we're no longer using Java 5, we should simplify `BufferUtils.isDirect()` as suggested in the FIXME.