test/filemagic_test.rb: Updated for libmagic 5.11.
ext/filemagic.[ch]: Remove usage of RARRAY_PTR.

<https://bugs.ruby-lang.org/issues/8399>